package com.fox0g.mapper;

import com.fox0g.pojo.Gls;
import com.fox0g.pojo.Inorout;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 86176
* @description 针对表【inorout(病人进出房价统计)】的数据库操作Mapper
* @createDate 2024-07-10 20:50:11
* @Entity com.fox0g.pojo.Inorout
*/

@Mapper
public interface InoroutMapper extends BaseMapper<Inorout> {
    @Insert("insert into test.inorout( people,place, create_time)" +
            " values (#{people},#{place},#{createTime})")
    int insert(Inorout inorout);

//    @Select("select people,place, create_time from test.inorout order by id desc ")
    List<Inorout> AllData(@Param("begin") String begin,@Param("end") String end);

}




